package com.hspedu.poly_.polyparameter_;

/**
 * @author 谷其昊
 * @version 1.0
 * @date 2022/1/23
 * @time 17:18
 */
public class CommonEmp extends Employee {
    public CommonEmp(String name, double monthSal) {
        super(name, monthSal);
    }

    public void work(){
        System.out.println("work...");
    }

    @Override
    public double getAnnual(){
        return super.getAnnual();
    }
}
